import axios from 'axios'

// 配置请求的根路径
axios.defaults.baseURL = 'http://api.pingcc.cn/'
axios.interceptors.request.use(config => { 
    config.headers.Authorization = window.sessionStorage.getItem('token')
    return config
})
export default axios;